package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ibeeking.found.common.base.BaseDO;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName  GroupQuery
 * @Description 群列表
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@Data
@TableName("group_list")
public class GroupDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 在企业微信的chatId
     */
    @TableField(value = "chat_id")
    private String chatId;

    /**
     * 群名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 群主ID
     */
    @TableField(value = "owner_id")
    private Long ownerId;

    /**
     * 群主ID
     */
    @TableField(value = "owner_code")
    private String ownerCode;

    /**
     * 群公告
     */
    @TableField(value = "notice")
    private String notice;

    /**
     * 客户群跟进状态；0 - 跟进人正常；1 - 跟进人离职;2 - 离职继承中;3 - 离职继承完成
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 建群时间
     */
    @TableField("build_time")
    private LocalDateTime buildTime;

}
